//
//  UrbanLawEnTextFild.h
//  UrbanManagement
//
//  Created by Can on 18/4/11.
//  Copyright © 2018年 hwd. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef enum : NSUInteger {
    UrbanLawEnTextFildPlateNumType,
    UrbanLawEnTextFildColorType,
    UrbanLawEnTextFildAddressType,
    UrbanLawEnTextFildWhereType
} UrbanLawEnTextFildType;


typedef void(^UrbanLawEnTextFildBlock)(NSString *);

@interface UrbanLawEnTextFild : UIView

@property (nonatomic, strong)UIButton *btn;

@property (nonatomic, copy) UrbanLawEnTextFildBlock UrbanLawEnTextFildBlock;


- (instancetype)initWithFrame:(CGRect)frame lableName:(NSString *)lableName labelColor:(UIColor *)lableColor text:(NSString *)text placeholder:(NSString *)placeholder buttonTitle:(NSString *)buttonTitle keyboardType:(UIKeyboardType)keyboardType maxNum:(NSInteger)maxNum type:(UrbanLawEnTextFildType)type;

@end
